Skip to content

Conversation

Glinte
Copy link

@Glinte Glinte commented Sep 28, 2025

Description

This fixes #552 by moving the guard condition up. One test has been modified but honestly I'm less certain about the test change than the code change lol.

@Glinte Glinte requested review from a team as code owners September 28, 2025 13:40
@Glinte Glinte changed the title Fix lazy attributes getting accessed on repository update method fix: Lazy attributes getting accessed on repository update method Sep 28, 2025
@Glinte Glinte force-pushed the fix-lazy-repo-update branch from 21a7e8d to 6ce7291 Compare September 28, 2025 13:45
@Glinte Glinte changed the title fix: Lazy attributes getting accessed on repository update method fix: lazy attributes getting accessed on repository update method Sep 28, 2025
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.34%. Comparing base (725e26a) to head (6ce7291).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #553   +/-   ##
=======================================
  Coverage   79.34%   79.34%           
=======================================
  Files          87       87           
  Lines        6260     6260           
  Branches      782      782           
=======================================
  Hits         4967     4967           
  Misses       1045     1045           
  Partials      248      248           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

Documentation preview will be available shortly at https://litestar-org.github.io/advanced-alchemy-docs-preview/553

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Still errors in SQLAlchemyRepository update method with lazy
2 participants